package com.rongmei.jdsync.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 商品数据响应对象
 *
 * @author dongjun
 */
@Data
@Schema(description = "商品数据响应对象", title = "商品响应DTO")
public class GoodsResponseDto {

    @Schema(description = "响应状态码：0-成功，其他值-失败", example = "0")
    private Integer code;

    @Schema(description = "响应消息", example = "success")
    private String message;

    @Schema(description = "商品数据")
    private GoodsDataDto data;
}
